package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class AdminRoleAddCommand {

    @NotEmpty(message = "角色名称必填")
    private String roleName;

    private List<String> newPermission;

    private List<String> dataPermission;

}
